using UnityEngine;

[CreateAssetMenu(fileName = "BuffEffect", menuName = "ItemEffect/BuffEffect")]
public class BuffEffect : ItemEffect
{
    [SerializeField] private float duration;
    [SerializeField] private StatType statType;
    [SerializeField] private int value;

    protected override void Effect(Transform _effectPos)
    {
        player = PlayerManager.Instance.Player;
        player.data.ModifyDataTemp(statType, value, duration);
    }

}
